<template>
	<view v-if='dataList.length!==0'>
		<view class='header'>
			<view>富阳区行政事业单位资产清查表</view>
			<view class='dateTitle'>[基准日:2020年3月31日]</view>
		</view>
		<view class='container'>
			<view class='listWrap'>
				<view class='leftClass'>
					单位名称
				</view>
				<view class='middleClass'></view>
				<view class='rightClass'>
					{{dataList[0].enterpriseId}} {{dataList[0].enterpriseName}}
				</view>
			</view>
			<view class='listWrap'>
				<view class='leftClass'>
					单位负责人
				</view>
				<view class='middleClass'></view>
				<view class='rightClass'>
					{{dataList[0].enterpriseManager}}
				</view>
			</view>
			<view class='listWrap'>
				<view class='leftClass'>
					财务(资产)负责人
				</view>
				<view class='middleClass'></view>
				<view class='rightClass'>
					{{dataList[0].assetManager}}
				</view>
			</view>
			<view class='listWrap'>
				<view class='leftClass'>
					主管部门:
				</view>
				<view class='middleClass'></view>
				<view class='rightClass'>
					{{dataList[0].managerDept}}
				</view>
			</view>
			<view class='listWrap'>
				<view class='leftClass'>
					填表人:
				</view>
				<view class='middleClass'></view>
				<view class='rightClass'>
					{{dataList[0].fillName}}
				</view>
			</view>
			<view class='listWrap'>
				<view class='leftClass'>
					邮政编码:
				</view>
				<view class='middleClass'></view>
				<view class='rightClass'>
					{{dataList[0].postcode}}
				</view>
			</view>
			<view class='listWrap'>
				<view class='leftClass'>
					电话号码:
				</view>
				<view class='middleClass'></view>
				<view class='rightClass'>
					{{dataList[0].phone}}
				</view>
			</view>
			<view class='listWrap'>
				<view class='leftClass'>
					报送日期:
				</view>
				<view class='middleClass'></view>
				<view class='rightClass'>
					{{dataList[0].reportDate}}
				</view>
			</view>
		</view>

		<view class='container'>
			<view class='listWrap'>
				<view class='leftClass'>
					单位组织机构代码:
				</view>
				<view class='middleClass'></view>
				<view class='rightClass'>
					{{dataList[0].organizationCode}}
				</view>
			</view>
			<view class='listWrap'>
				<view class='leftClass'>
					成立年份:
				</view>
				<view class='middleClass'></view>
				<view class='rightClass'>
					{{dataList[0].setDate}}
				</view>
			</view>
			<view class='listWrap'>
				<view class='leftClass'>
					单位性质:
				</view>
				<view class='middleClass'></view>
				<view class='rightClass'>
					<text v-if='dataList[0].enterpriseKind===1'>行政</text>
					<text v-if='dataList[0].enterpriseKind===2'>事业</text>
					<text v-if='dataList[0].enterpriseKind===3'>群众团体</text>

				</view>
			</view>
			<view class='listWrap'>
				<view class='leftClass'>
					备注:
				</view>
				<view class='middleClass'></view>
				<view class='rightClass'>
					本套报表报送共计5张，附件资料共计 
					{{dataList[0].annex}}
					 张，详见附后明细。
				</view>
			</view>
		</view>


	</view>
</template>

<script>
	export default {
		props: {
			dataList: {
				type: Array,
				default: {}
			}
		},
		data() {
			return {

			}
		}
	}
</script>

<style scoped lang='scss'>
	.header {
		text-align: center;
		text-align: center;
		font-size: 16px;
		margin-top: 5px;
	}

	.dateTitle {
		margin-top: 8px;
		font-size: 13px;
		color: gray;
	}

	.container {
		margin-top: 5px;
		padding: 5px 10px;
		background: #fff;
		margin: 8px 0px;

		.listWrap {
			display: flex;
			font-size: 16px;
			font-family: PingFangSC-Regular, PingFang SC;
			font-weight: 400;
			color: #333333;
			border-bottom: 1px solid #e0d9d9;
			padding: 10px 0px;
			align-items: center;

			.leftClass {
				flex: 1;
				text-align: left;
			}

			.middleClass {
				flex: 1.1;
			}

			.rightClass {
				font-size: 14px;
				font-family: PingFangSC-Regular, PingFang SC;
				font-weight: 400;
				color: #999999;
				flex: 2;
				text-align: right;
				padding-right: 5px;
				line-height: 25px;
			}
		}
	}
</style>
